package com.wangyg.flourfactory.outer;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by wangyg6 on 2019/5/22 9:54.
 */
@Component("flourFactory2")
@Slf4j
public class CallFlourFactoryImpl implements ICallFlourFactory {
	@Override
	public Integer getFlourNum(@RequestParam("factId") Integer factId) {
		log.error("此处通过实现类展示，方式二");
		return 999999;
	}
}
